<template>
    <div class="container">
        <div class="con">
            <yd-cell-group>
                <yd-cell-item>
                    <span slot="left">姓名：</span>
                    <span slot="right">{{items.username}}</span>
                </yd-cell-item>
                <!--arrow-->
                <yd-cell-item>
                    <span slot="left">邮箱：</span>
                    <span slot="right">{{items.email}}</span>
                </yd-cell-item>

                <yd-cell-item>
                    <span slot="left">手机号：</span>
                    <span slot="right">{{items.mobile}}</span>
                </yd-cell-item>
                <yd-cell-item>
                    <span slot="left">证件类型：</span>
                    <span slot="right">{{items.identityCardType}}</span>
                </yd-cell-item>
                <yd-cell-item>
                    <span slot="left">证件号码：</span>
                    <span slot="right">{{items.identityCard}}</span>
                </yd-cell-item>
                <yd-cell-item arrow type="label">
                    <span slot="left">杠杆：</span>
                    <select slot="right">
                        <option value="100">100</option>
                    </select>
                </yd-cell-item>
                <yd-cell-item arrow type="label">
                    <span slot="left">组：</span>
                    <select slot="right">
                        <option v-for="item in items.tradeGroupList" :value="item">{{item}}</option>
                    </select>
                </yd-cell-item>
                <yd-cell-item>
                    <span slot="left">验证码：</span>
                    <input slot="right" type="text" placeholder="请输入验证码">
                </yd-cell-item>
                <get-code></get-code>
            </yd-cell-group>
        </div>
    </div>
</template>
<script>
    import GetCode from '../common/get-code.vue';
    import AjaxHttp from '../../js/ajaxHttp.js';
    import Tools from '../../js/tools.js';
    import Config from '../../js/config.js';
    export default{
        components: {
            GetCode
        },
        data: function () {
            return {
                items: []
            }
        },
        created: function () {
            const _this = this;
            AjaxHttp.getHttp('fxsys/mtApply/viewApplyMTAccount').then(function (response) {
                _this.items = response;
                console.log(response);
            });
        }
    }
</script>